package com.xiongxiong.yiqing.pojo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 熊熊很酷
 * @since 2022-12-14
 */
@Data
@TableName("record_card")
@ApiModel(value = "RecordCard对象", description = "")
public class RecordCard implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("用户id")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty("身体状态")
    @TableField("body_state")
    private String bodyState;

    @ApiModelProperty("体温")
    @TableField("temperature")
    private String temperature;

    @ApiModelProperty("阴阳: 阴性, 阳性, 待检测")
    @TableField("yin_or_yang")
    private String yinOrYang;

    @ApiModelProperty("打卡地点")
    @TableField("record_address")
    private String recordAddress;

    @ApiModelProperty("创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

}
